<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<div class="jumbotron">
	<div class="container">
	<p>Seleziona i File da Caricare</p>
	</div>
	<div class="container"> 
		<form:form method="post" action="save.html" commandName="myfileform" enctype="multipart/form-data">
		 
		    
		 	<div class="well">
		 		<div class="form-group">
					<p style="font-size: 0.6em;">Inserisci L'introduzione</p>
					<form:input path="commonsMultipartFilesIntroduzione" type="file" class="btn btn-default" multiple="multiple"/>
			        <form:errors path="commonsMultipartFilesIntroduzione" />
				</div>
			</div>

		 	<div class="well">
		 		<div class="form-group">
					<p style="font-size: 0.6em;">Inserisci la Prefazione (Non obligatorio)</p>
					<form:input path="commonsMultipartFilesPrefazione" type="file" class="btn btn-default" multiple="multiple"/>
			        <form:errors path="commonsMultipartFilesPrefazione" />
				</div>
			</div>
			
		 	<div class="well">
		 		<div class="form-group">
					<p style="font-size: 0.6em;">Inserisci i Capitoli</p>
					<form:input path="commonsMultipartFilesXHTML" type="file" class="btn btn-default" multiple="multiple"/>
			        <form:errors path="commonsMultipartFilesXHTML" />
				</div>
			</div>
			<%-- 
		 	<div class="well">
		 		<div class="form-group">
					<p style="font-size: 0.6em;">Inserisci i Contenuti Aggiuntivi se ne hai</p>
					<form:input path="commonsMultipartFilesGuide" type="file" class="btn btn-default" multiple="multiple"/>
			        <form:errors path="commonsMultipartFilesGuide" />
				</div>
			</div>
			 --%>
				
				
				
		    <%-- <table id="fileTable">
		        <tr>
		            <td><form:input path="commonsMultipartFilesXHTML" type="file" class="btn btn-primary" multiple="multiple"/>
		            	 <form:errors path="commonsMultipartFilesXHTML" />
		            </td>
		            <td><form:input path="commonsMultipartFilesCSS" type="file" class="btn btn-info" multiple="multiple"/>
		            	 <form:errors path="commonsMultipartFilesCSS" /></td>
		            <td><form:input path="commonsMultipartFilesIMG" type="file" class="btn btn-default" multiple="multiple"/>
		            <form:errors path="commonsMultipartFilesIMG"/>
		            	</td>
		        </tr>
		
		    </table> --%>
		    <br/><input type="submit" value="Upload" class="btn btn-default"/>
		</form:form>
	</div>
</div>